package cn.tide.question2.domain;

import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;
import java.util.List;

@Data
public class Person implements Serializable {
    private Integer id;
    private String name;
    private String sex;
    private String telephone;
    private List<Hobby> hobby;
//private String[] hobby;
}
